package hu.lacimol.tutorial.todo.model;

import net.java.ao.Entity;
import net.java.ao.OneToMany;
import net.java.ao.Preload;

@Preload
public interface Todo extends Entity {

	String getDescription();

	void setDescription(String description);

	boolean isComplete();

	void setComplete(boolean complete);

	@OneToMany
	public Comment[] getComments();

}
